[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SetPenColor Sets Color of Turtle's Pen
SetPenColor(Color : Integer); [TG/TP]
Sets the color of the turtle's pen. The color selected is the color
that will be used for drawing when the turtle is moved.
Color New color of turtle's pen; 0..3 selects appropriate
color from palette (See Palette); -1 selects color
from color translation table (See ColorTable).
Note: The extended graphics external declaration file
GRAPH.P must be included to use this procedure.
-------------------------------- Example ---------------------------------
{$I GRAPH.P }
GraphMode; { Put display into graphics mode }
SetPenColor(2); { choose color 2 for turtle pen }
See Also:
ColorTable
Palette
HiResColor
TextColor
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson